package com.qfjy.service.impl;

import com.qfjy.entity.po.Role;
import com.qfjy.mapper.RoleMapper;
import com.qfjy.service.RoleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName RoleServiceImpl
 * @Description TODO
 * @Author guoweixin
 * @Date 2023/5/25
 * @Version 1.0
 */
@Slf4j
@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleMapper roleMapper;

    /**
     * TODO 查看所有的角色信息
     */
    @Override
    public List<Role> selectList() {
        return roleMapper.selectList();
    }
}
